#!/bin/bash

info_tmp=/tmp/mail_tmp
day_log=/tmp/sshd_secure_log_$(date -d '1 days ago' +%Y%m%d)

cat $day_log > $info_tmp
echo -e "\n***************************************\n" >>$info_tmp
df -h >> $info_tmp

cat $info_tmp |  mail -s "boat server info" junchao82@qq.com
